package com.centaline.androidsalesblog.api.sale;

import com.centaline.androidsalesblog.api.SaleApi;
import com.centaline.androidsalesblog.model.responseobject.SchoolDetailRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 学校详情
 * Created by guilin on 16/1/19.
 */
public class SchoolDetailApi extends SaleApi<SchoolDetailRo> {

    private int schoolId;

    public SchoolDetailApi(Class<?> tag, Class<SchoolDetailRo> aClass, IResponseListener<SchoolDetailRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    public void setSchoolId(int schoolId) {
        this.schoolId = schoolId;
    }

    @Override
    protected void setParams() {
        putParams("schoolId",schoolId);
    }

    @Override
    protected String getPath() {
        return "School";
    }
}
